<div class="estudiantes index">
	<h2><?php __('Estudiantes');?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('instituciones_educativa_id');?></th>
			<th><?php echo $this->Paginator->sort('primer_nombre');?></th>
			<th><?php echo $this->Paginator->sort('segundo_nombre');?></th>
			<th><?php echo $this->Paginator->sort('primer_apellido');?></th>
			<th><?php echo $this->Paginator->sort('segundo_apellido');?></th>
			<th><?php echo $this->Paginator->sort('tipo_documento');?></th>
			<th><?php echo $this->Paginator->sort('documento');?></th>
			<th><?php echo $this->Paginator->sort('municipio_expedicion_id');?></th>
			<th><?php echo $this->Paginator->sort('fecha_nacimiento');?></th>
			<th><?php echo $this->Paginator->sort('municipio_nacimiento_id');?></th>
			<th><?php echo $this->Paginator->sort('genero');?></th>
			<th><?php echo $this->Paginator->sort('tipo_sangre');?></th>
			<th><?php echo $this->Paginator->sort('lugar_familia');?></th>
			<th><?php echo $this->Paginator->sort('institucionalizado');?></th>
			<th><?php echo $this->Paginator->sort('institucion');?></th>
			<th><?php echo $this->Paginator->sort('duracion');?></th>
			<th><?php echo $this->Paginator->sort('beneficiario_programa');?></th>
			<th><?php echo $this->Paginator->sort('nombre_programa');?></th>
			<th><?php echo $this->Paginator->sort('nuevo');?></th>
			<th><?php echo $this->Paginator->sort('subsidiado');?></th>
			<th><?php echo $this->Paginator->sort('aceleracion');?></th>
			<th><?php echo $this->Paginator->sort('sector');?></th>
			<th><?php echo $this->Paginator->sort('proviene_municipio');?></th>
			<th><?php echo $this->Paginator->sort('institucion_origen');?></th>
			<th><?php echo $this->Paginator->sort('repitente');?></th>
			<th><?php echo $this->Paginator->sort('condicion_finalizar');?></th>
			<th><?php echo $this->Paginator->sort('situacion_academica');?></th>
			<th><?php echo $this->Paginator->sort('estado_academico_anterior');?></th>
			<th><?php echo $this->Paginator->sort('causa_retiro_academico');?></th>
			<th><?php echo $this->Paginator->sort('causa_otro_retiro_academico');?></th>
			<th><?php echo $this->Paginator->sort('fecha_retiro_academico');?></th>
			<th><?php echo $this->Paginator->sort('discapacidad');?></th>
			<th><?php echo $this->Paginator->sort('capacidad_excepcional');?></th>
			<th><?php echo $this->Paginator->sort('simat');?></th>
			<th><?php echo $this->Paginator->sort('leer');?></th>
			<th><?php echo $this->Paginator->sort('transferencia');?></th>
			<th><?php echo $this->Paginator->sort('zona_residencial');?></th>
			<th><?php echo $this->Paginator->sort('direccion');?></th>
			<th><?php echo $this->Paginator->sort('telefono');?></th>
			<th><?php echo $this->Paginator->sort('comuna_corregimiento');?></th>
			<th><?php echo $this->Paginator->sort('barrio_vereda');?></th>
			<th><?php echo $this->Paginator->sort('vivienda');?></th>
			<th><?php echo $this->Paginator->sort('carencia_sp');?></th>
			<th><?php echo $this->Paginator->sort('tiempo_desplazamiento');?></th>
			<th><?php echo $this->Paginator->sort('medio_desplazamiento');?></th>
			<th><?php echo $this->Paginator->sort('cubre_transporte');?></th>
			<th><?php echo $this->Paginator->sort('traslado_vivienda');?></th>
			<th><?php echo $this->Paginator->sort('tiempo_vivienda');?></th>
			<th><?php echo $this->Paginator->sort('numero_familia');?></th>
			<th><?php echo $this->Paginator->sort('ingresos_familiares');?></th>
			<th><?php echo $this->Paginator->sort('trabaja');?></th>
			<th><?php echo $this->Paginator->sort('comidas');?></th>
			<th><?php echo $this->Paginator->sort('estrato');?></th>
			<th><?php echo $this->Paginator->sort('sisben');?></th>
			<th><?php echo $this->Paginator->sort('ars');?></th>
			<th><?php echo $this->Paginator->sort('esp');?></th>
			<th><?php echo $this->Paginator->sort('enfermedad_cronica');?></th>
			<th><?php echo $this->Paginator->sort('tratamiento_medico');?></th>
			<th><?php echo $this->Paginator->sort('victima_conflicto');?></th>
			<th><?php echo $this->Paginator->sort('municipio_expulsor_id');?></th>
			<th><?php echo $this->Paginator->sort('tiempo_desplazado');?></th>
			<th><?php echo $this->Paginator->sort('registro_desplazado');?></th>
			<th><?php echo $this->Paginator->sort('nombre_red');?></th>
			<th><?php echo $this->Paginator->sort('documento_red');?></th>
			<th><?php echo $this->Paginator->sort('cabeza_familia');?></th>
			<th><?php echo $this->Paginator->sort('dependiente');?></th>
			<th><?php echo $this->Paginator->sort('grupo_etnico');?></th>
			<th><?php echo $this->Paginator->sort('soportes');?></th>
			<th><?php echo $this->Paginator->sort('focalizacion');?></th>
			<th><?php echo $this->Paginator->sort('focalizacion_otro');?></th>
			<th><?php echo $this->Paginator->sort('auto251');?></th>
			<th><?php echo $this->Paginator->sort('desertado');?></th>
			<th><?php echo $this->Paginator->sort('created');?></th>
			<th><?php echo $this->Paginator->sort('modified');?></th>
			<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($estudiantes as $estudiante):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $estudiante['Estudiante']['id']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['instituciones_educativa_id']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['primer_nombre']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['segundo_nombre']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['primer_apellido']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['segundo_apellido']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['tipo_documento']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['documento']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['municipio_expedicion_id']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['fecha_nacimiento']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['municipio_nacimiento_id']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['genero']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['tipo_sangre']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['lugar_familia']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['institucionalizado']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['institucion']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['duracion']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['beneficiario_programa']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['nombre_programa']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['nuevo']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['subsidiado']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['aceleracion']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['sector']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['proviene_municipio']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['institucion_origen']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['repitente']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['condicion_finalizar']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['situacion_academica']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['estado_academico_anterior']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['causa_retiro_academico']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['causa_otro_retiro_academico']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['fecha_retiro_academico']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['discapacidad']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['capacidad_excepcional']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['simat']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['leer']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['transferencia']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['zona_residencial']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['direccion']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['telefono']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['comuna_corregimiento']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['barrio_vereda']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['vivienda']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['carencia_sp']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['tiempo_desplazamiento']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['medio_desplazamiento']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['cubre_transporte']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['traslado_vivienda']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['tiempo_vivienda']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['numero_familia']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['ingresos_familiares']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['trabaja']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['comidas']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['estrato']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['sisben']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['ars']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['esp']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['enfermedad_cronica']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['tratamiento_medico']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['victima_conflicto']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['municipio_expulsor_id']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['tiempo_desplazado']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['registro_desplazado']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['nombre_red']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['documento_red']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['cabeza_familia']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['dependiente']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['grupo_etnico']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['soportes']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['focalizacion']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['focalizacion_otro']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['auto251']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['desertado']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['created']; ?>&nbsp;</td>
		<td><?php echo $estudiante['Estudiante']['modified']; ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View', true), array('action' => 'view', $estudiante['Estudiante']['id'])); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $estudiante['Estudiante']['id'])); ?>
			<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $estudiante['Estudiante']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $estudiante['Estudiante']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('New Estudiante', true), array('action' => 'add')); ?></li>
	</ul>
</div>